package com.link2room.ironhide.facade;


import com.link2room.common.jpa.result.QueryResult;
import com.link2room.ironhide.dto.param.manager.ImageManagerParamDto;
import com.link2room.ironhide.dto.param.manager.ImageUploadParamDto;
import com.link2room.ironhide.dto.result.base.ImagesUploadResDto;
import com.link2room.ironhide.dto.result.base.L2RImgSourceDto;

import java.util.List;

/**
 * Created by LN on 2016/11/29.
 */
public interface IimageFacadeService {
    /**
     * 获取图片
     * @param paramDto
     */
    QueryResult<L2RImgSourceDto> getImages(ImageManagerParamDto paramDto) throws Exception;

    /**
     * 上传
     * @param paramDto
     * @return
     * @throws Exception
     */
    ImagesUploadResDto upload(ImageUploadParamDto paramDto) throws Exception;
    /**
     * save
     */
    List<L2RImgSourceDto> saveImages(ImageManagerParamDto paramDto) throws Exception;
}
